package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <desc>
 *
 * </desc>
 *
 * @createDate2019/12/11
 **/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ItlTables("device_white_list_auth_file_rules_info")
public class DeviceWhiteListIAuthFileRulesInfoPO extends BasePO implements Serializable {

    @ItlField(value = "rule_id",logicKey = "key")
    private String ruleId;          //规则id 逻辑主键

    @ItlField("amount")
    private Integer amount;          //数量

    @ItlField("password")
    private String password;        //密码

    @ItlField("start_time")
    private Date startTime;         //有效开始时间

    @ItlField("end_time")
    private Date endTime;           //有效结束时间

    @ItlField("used_times")
    private Integer usedTimes;          //已使用次数

    @ItlField("create_user_id")
    private String createUserId;    //创建人id

    @ItlField("operate_user_id")
    private String operateUserId;    //更新人id

}
